public class text7 {
    public static void main(String[] args) {
        int [] B1={33,5,22,44,55};
        int min=B1[0];
        for (int i = 1; i < B1.length; i++) {
            if (B1[i]>min){
                min=B1[i];
            }
        }
        System.out.println(min);
    }
}
